<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\facade\Route;

// ==================== 全局路由配置 ====================
// 在多应用模式下，具体应用的路由应该在各自的应用目录中配置
// 这里只配置全局通用的路由

// 全局测试路由
Route::get('test', function () {
    return json(['message' => '全局测试路由工作正常']);
});